package com.woniuxy.sale.service.impl;

import com.woniuxy.model.entity.ExportTable;
import com.woniuxy.sale.mapper.ExportTableMapper;
import com.woniuxy.sale.service.ExportTableService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
public class ExportTableServiceImpl implements ExportTableService {

    @Resource
    private ExportTableMapper exportTableMapper;

    @Transactional
    @Override
    public boolean add(ExportTable table) {
        return exportTableMapper.add(table);
    }
}
